package com.quarkus.servcie;

import com.quarkus.bean.Fruit;

import javax.enterprise.context.ApplicationScoped;
import javax.validation.Valid;

/**
 * @Author: TongRui乀
 * @Date: 2021/2/28 10:27
 * @description：
 */
@ApplicationScoped
public class FruitService {

    public void  validate(@Valid Fruit fruit){
        // do something
    }

}
